package com.quectel.core.module.scheduling.dto;

import com.quectel.core.module.village.dto.VillageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/07/05 13:24
 */
@Data
@Schema
public class SchedulingAuditPipelineDto implements Serializable {

    /**
    * id
    */
    @Schema(description = "id")
    private Long id;

    /**
    * 租户id
    */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
    * 小区id
    */
    @Schema(description = "小区id")
    private Long villageId;

    /**
    * 审批流类型 1.销假审批
    */
    @Schema(description = "审批流类型 1.销假审批")
    private Byte type;

    /**
    * 审批流名称
    */
    @Schema(description = "审批流名称")
    private String name;

    /**
    * 状态0停用1启用
    */
    @Schema(description = "状态0停用1启用")
    private Byte status;

    /**
    * 创建人
    */
    @Schema(description = "创建人")
    private String creator;

    /**
    * 创建时间
    */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
    * 更新人
    */
    @Schema(description = "更新人")
    private String editor;

    /**
    * 更新时间
    */
    @Schema(description = "更新时间")
    private Date editTime;

    /************非数据库字段 start ************/
    /**
     * 园区Dto
     */
    @Schema(description = "园区Dto")
    private VillageDto village;
    /**
     * 审批流序列
     */
    @Schema(description = "审批流序列")
    private List<SchedulingAuditPipelineSeqDto> auditPipelineSeqDtos;
    /************非数据库字段 end **************/
}
